/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.JoinTable;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;
import com.jeesite.common.utils.excel.annotation.ExcelField;
import com.jeesite.common.utils.excel.annotation.ExcelField.Align;
import com.jeesite.common.utils.excel.annotation.ExcelFields;
import com.jeesite.common.utils.excel.fieldtype.CompanyType;
import com.jeesite.common.utils.excel.fieldtype.OfficeType;
import org.hibernate.validator.constraints.Length;

import javax.validation.Valid;
import java.math.BigDecimal;

/**
 * kj_member_jobEntity
 * @author hzy
 * @version 2021-07-12
 */
public class KjMemberJobIntegralExport extends KjMemberJob {

	public KjMemberJobIntegralExport() {
		this(null);
	}

	public KjMemberJobIntegralExport(String id){
		super(id);
	}

//todo 活动导出处理
	@Valid
	@ExcelFields({
			@ExcelField(title="活动名", attrName="activityName", align=Align.CENTER, sort=10, fieldType= OfficeType.class),
			@ExcelField(title="地区", attrName="cityName", align = Align.CENTER, sort=20, fieldType= CompanyType.class),
			//@ExcelField(title="活动举办时间", attrName="kjActivity.createDate", align = Align.CENTER, sort=25),
			@ExcelField(title="用户名", attrName="kjMember.name", align=Align.CENTER, sort=30),
			@ExcelField(title="中兴工号", attrName="kjMember.memberNo", align=Align.CENTER, sort=32),
			@ExcelField(title="政府志愿者号", attrName="kjMember.volunteerNo", align=Align.CENTER, sort=33),
			@ExcelField(title="电话", attrName="kjMember.mobile", align=Align.CENTER, sort=34),
			@ExcelField(title="岗位名", attrName="jobName", align=Align.CENTER, sort=40),
			@ExcelField(title="活动开始时间", attrName="kjActivity.startTime", align = Align.CENTER, sort=45),
			@ExcelField(title="活动结束时间", attrName="kjActivity.endTime", align = Align.CENTER, sort=50),
			@ExcelField(title="活动地点", attrName="kjActivity.location", align = Align.CENTER, sort=55,fieldType= CompanyType.class),
			@ExcelField(title="积分发放状态", attrName="sendStatus", dictType = "send_status", align=Align.CENTER, sort=60),
			@ExcelField(title="发放时长", attrName="calculateTime", align=Align.CENTER, sort=70),
			@ExcelField(title="发放积分数", attrName="integrals", align=Align.CENTER, sort=80),
	})
	public void getData(){

	}
}
